/*
 * CategoryTreeInfoAdapter.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.adapter;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.CommonAdapter;
import com.yidiandao.business.ui.widget.listview.DisplayItemManager;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.CategoryActiveListItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.CategoryTreeAddressItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.CategoryTreeInfoItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.CategoryTreeTitleItem;

/** 分类右边的内容 */
public class CategoryTreeInfoAdapter extends CommonAdapter<DisplayListItem> {
    public CategoryTreeInfoAdapter(Context context) {
        super(context);
    }

    @Override
    protected void registerDisplayListItemMap() {
        DisplayItemManager.register(getAdapterTag(), CategoryTreeInfoItem.class);
        DisplayItemManager.register(getAdapterTag(), CategoryTreeTitleItem.class);
        DisplayItemManager.register(getAdapterTag(), CategoryTreeAddressItem.class);
        DisplayItemManager.register(getAdapterTag(), CategoryActiveListItem.class);
    }

    @Override
    protected String getAdapterTag() {
        return CategoryTreeInfoAdapter.class.getSimpleName();
    }
}
